Optimal. Leaf size=183 \[ -\frac {d \left (B \log \left (\frac {e (a+b x)}{c+d x}\right )+A\right )^3}{3 B g^2 i (b c-a d)^2}-\frac {b (c+d x) \left (B \log \left (\frac {e (a+b x)}{c+d x}\right )+A\right )^2}{g^2 i (a+b x) (b c-a d)^2}-\frac {2 b B (c+d x) \left (B \log \left (\frac {e (a+b x)}{c+d x}\right )+A\right )}{g^2 i (a+b x) (b c-a d)^2}-\frac {2 b B^2 (c+d x)}{g^2 i (a+b x) (b c-a d)^2} \]
[Out]
________________________________________________________________________________________
Rubi [C] time = 6.33, antiderivative size = 1684, normalized size of antiderivative = 9.20, number of steps used = 87, number of rules used = 31, integrand size = 42, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.738, Rules used = {2528, 2525, 12, 44, 2524, 2418, 2390, 2301, 2394, 2393, 2391, 6688, 6742, 2411, 2344, 2317, 2507, 2488, 2506, 6610, 2500, 2433, 2375, 2374, 6589, 2440, 2434, 2499, 2396, 2302, 30} \[ \text {result too large to display} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 30
Rule 44
Rule 2301
Rule 2302
Rule 2317
Rule 2344
Rule 2374
Rule 2375
Rule 2390
Rule 2391
Rule 2393
Rule 2394
Rule 2396
Rule 2411
Rule 2418
Rule 2433
Rule 2434
Rule 2440
Rule 2488
Rule 2499
Rule 2500
Rule 2506
Rule 2507
Rule 2524
Rule 2525
Rule 2528
Rule 6589
Rule 6610
Rule 6688
Rule 6742
Rubi steps
\begin {align*} \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{(89 c+89 d x) (a g+b g x)^2} \, dx &=\int \left (\frac {b \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)^2}-\frac {b d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2 (a+b x)}+\frac {d^2 \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2 (c+d x)}\right ) \, dx\\ &=-\frac {(b d) \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {d^2 \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {b \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{(a+b x)^2} \, dx}{89 (b c-a d) g^2}\\ &=-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {(2 B d) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{e (a+b x)} \, dx}{89 (b c-a d)^2 g^2}-\frac {(2 B d) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{e (a+b x)} \, dx}{89 (b c-a d)^2 g^2}+\frac {(2 B) \int \frac {(b c-a d) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(a+b x)^2 (c+d x)} \, dx}{89 (b c-a d) g^2}\\ &=-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {(2 B) \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(a+b x)^2 (c+d x)} \, dx}{89 g^2}+\frac {(2 B d) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{a+b x} \, dx}{89 (b c-a d)^2 e g^2}-\frac {(2 B d) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 e g^2}\\ &=-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {(2 B) \int \left (\frac {b \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(b c-a d) (a+b x)^2}-\frac {b d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^2 (a+b x)}+\frac {d^2 \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(b c-a d)^2 (c+d x)}\right ) \, dx}{89 g^2}+\frac {(2 B d) \int \frac {(b c-a d) e \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)} \, dx}{89 (b c-a d)^2 e g^2}-\frac {(2 B d) \int \frac {(b c-a d) e \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{89 (b c-a d)^2 e g^2}\\ &=-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {(2 b B d) \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B d^2\right ) \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {(2 b B) \int \frac {A+B \log \left (\frac {e (a+b x)}{c+d x}\right )}{(a+b x)^2} \, dx}{89 (b c-a d) g^2}+\frac {(2 B d) \int \frac {\log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}-\frac {(2 B d) \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}\\ &=-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (a+b x)}{e (a+b x)} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (c+d x)}{e (a+b x)} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2\right ) \int \frac {b c-a d}{(a+b x)^2 (c+d x)} \, dx}{89 (b c-a d) g^2}+\frac {(2 B d) \int \left (\frac {A \log (a+b x)}{(a+b x) (c+d x)}+\frac {B \log (a+b x) \log \left (\frac {e (a+b x)}{c+d x}\right )}{(a+b x) (c+d x)}\right ) \, dx}{89 (b c-a d) g^2}-\frac {(2 B d) \int \left (\frac {b \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(b c-a d) (a+b x)}-\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{(b c-a d) (c+d x)}\right ) \, dx}{89 (b c-a d) g^2}\\ &=-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2\right ) \int \frac {1}{(a+b x)^2 (c+d x)} \, dx}{89 g^2}-\frac {(2 b B d) \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B d^2\right ) \int \frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \int \frac {\log (a+b x)}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}+\frac {\left (2 B^2 d\right ) \int \frac {\log (a+b x) \log \left (\frac {e (a+b x)}{c+d x}\right )}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}+\frac {\left (2 B^2 d\right ) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (a+b x)}{a+b x} \, dx}{89 (b c-a d)^2 e g^2}-\frac {\left (2 B^2 d\right ) \int \frac {(c+d x) \left (-\frac {d e (a+b x)}{(c+d x)^2}+\frac {b e}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 e g^2}\\ &=\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2\right ) \int \left (\frac {b}{(b c-a d) (a+b x)^2}-\frac {b d}{(b c-a d)^2 (a+b x)}+\frac {d^2}{(b c-a d)^2 (c+d x)}\right ) \, dx}{89 g^2}-\frac {(2 b B d) \int \left (\frac {A \log (c+d x)}{a+b x}+\frac {B \log \left (\frac {e (a+b x)}{c+d x}\right ) \log (c+d x)}{a+b x}\right ) \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (b B^2 d\right ) \int \frac {\log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B d^2\right ) \int \left (\frac {A \log (c+d x)}{c+d x}+\frac {B \log \left (\frac {e (a+b x)}{c+d x}\right ) \log (c+d x)}{c+d x}\right ) \, dx}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \operatorname {Subst}\left (\int \frac {\log (x)}{x \left (\frac {b c-a d}{b}+\frac {d x}{b}\right )} \, dx,x,a+b x\right )}{89 b (b c-a d) g^2}+\frac {\left (2 B^2 d\right ) \int \left (\frac {b e \log (a+b x)}{a+b x}-\frac {d e \log (a+b x)}{c+d x}\right ) \, dx}{89 (b c-a d)^2 e g^2}-\frac {\left (2 B^2 d\right ) \int \left (\frac {b e \log (c+d x)}{a+b x}-\frac {d e \log (c+d x)}{c+d x}\right ) \, dx}{89 (b c-a d)^2 e g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}-\frac {(2 A b B d) \int \frac {\log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 b B^2 d\right ) \int \frac {\log (a+b x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 b B^2 d\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 b B^2 d\right ) \int \frac {\log \left (\frac {e (a+b x)}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 A B d^2\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 A B d^2\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{\frac {b c-a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{89 b (b c-a d)^2 g^2}-\frac {\left (2 B^2 d^2\right ) \int \frac {\log (a+b x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2\right ) \int \frac {\log (c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2\right ) \int \frac {\log \left (\frac {e (a+b x)}{c+d x}\right ) \log (c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \int \frac {\log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log \left (\frac {e (a+b x)}{c+d x}\right )}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (b B^2 d\right ) \int \frac {\log ^2(c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 b B^2 d\right ) \int \frac {\log (a+b x) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}-\frac {\left (2 b B^2 d\right ) \int \frac {\log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 b B^2 d\right ) \int \frac {\log \left (\frac {b (c+d x)}{b c-a d}\right )}{a+b x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 A B d^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (B^2 d^2\right ) \int \frac {\log ^2(c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \int \frac {\text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{(a+b x) (c+d x)} \, dx}{89 (b c-a d) g^2}-\frac {\left (2 b B^2 d \left (-\log (a+b x)-\log \left (\frac {1}{c+d x}\right )+\log \left (\frac {e (a+b x)}{c+d x}\right )\right )\right ) \int \frac {\log (c+d x)}{a+b x} \, dx}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {(2 A B d) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log ^2(x)}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {b c-a d}{b}+\frac {d x}{b}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log \left (\frac {1}{-\frac {-b c+a d}{b}+\frac {d x}{b}}\right ) \log \left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right ) \log (c+d x)}{c+d x} \, dx}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2 \left (-\log (a+b x)-\log \left (\frac {1}{c+d x}\right )+\log \left (\frac {e (a+b x)}{c+d x}\right )\right )\right ) \int \frac {\log \left (\frac {d (a+b x)}{-b c+a d}\right )}{c+d x} \, dx}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {\left (B^2 d\right ) \operatorname {Subst}\left (\int x^2 \, dx,x,\log (c+d x)\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {d \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (B^2 d^2\right ) \operatorname {Subst}\left (\int \frac {\log ^2(x)}{\frac {b c-a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{89 b (b c-a d)^2 g^2}+\frac {\left (2 B^2 d^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {1}{-\frac {-b c+a d}{b}+\frac {d x}{b}}\right )}{-\frac {-b c+a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{89 b (b c-a d)^2 g^2}-\frac {\left (2 B^2 d^2\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (-\frac {-b c+a d}{b}+\frac {d x}{b}\right )}{-\frac {-b c+a d}{b}+\frac {d x}{b}} \, dx,x,a+b x\right )}{89 b (b c-a d)^2 g^2}+\frac {\left (2 B^2 d \left (-\log (a+b x)-\log \left (\frac {1}{c+d x}\right )+\log \left (\frac {e (a+b x)}{c+d x}\right )\right )\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^3(c+d x)}{267 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log \left (\frac {1}{x}\right ) \log \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (\frac {-b c+a d}{d}+\frac {b x}{d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (1+\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^3(c+d x)}{267 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (a+b x) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {\left (b B^2\right ) \operatorname {Subst}\left (\int \frac {\log ^2\left (\frac {1}{x}\right )}{\frac {-b c+a d}{d}+\frac {b x}{d}} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}+\frac {\left (b B^2\right ) \operatorname {Subst}\left (\int \frac {\log ^2(x)}{\frac {-b c+a d}{d}+\frac {b x}{d}} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {d x}{b c-a d}\right )}{x} \, dx,x,a+b x\right )}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^3(c+d x)}{267 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (a+b x) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (c+d x) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}+\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log \left (\frac {1}{x}\right ) \log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}-\frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\log (x) \log \left (1+\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^3(c+d x)}{267 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (a+b x) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {1}{c+d x}\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-2 \frac {\left (2 B^2 d\right ) \operatorname {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {b x}{-b c+a d}\right )}{x} \, dx,x,c+d x\right )}{89 (b c-a d)^2 g^2}\\ &=-\frac {2 B^2}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B^2 d \log (a+b x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log ^2\left (\frac {1}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (-\frac {b c-a d}{d (a+b x)}\right ) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log (a+b x) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d) g^2 (a+b x)}-\frac {2 B d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )}{89 (b c-a d)^2 g^2}-\frac {\left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d) g^2 (a+b x)}-\frac {d \log (a+b x) \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log ^2(a+b x) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 A B d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {1}{c+d x}\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log \left (-\frac {d (a+b x)}{b c-a d}\right ) \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {2 B d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {d \left (A+B \log \left (\frac {e (a+b x)}{c+d x}\right )\right )^2 \log (c+d x)}{89 (b c-a d)^2 g^2}+\frac {A B d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(c+d x)}{89 (b c-a d)^2 g^2}-\frac {B^2 d \log (a+b x) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \log ^2(c+d x)}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^3(c+d x)}{267 (b c-a d)^2 g^2}-\frac {2 A B d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log (a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {B^2 d \log ^2(a+b x) \log \left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \log (a+b x) \text {Li}_2\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 A B d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {1}{c+d x}\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}+\frac {2 B^2 d \left (\log (a+b x)+\log \left (\frac {1}{c+d x}\right )-\log \left (\frac {e (a+b x)}{c+d x}\right )\right ) \text {Li}_2\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \log \left (\frac {e (a+b x)}{c+d x}\right ) \text {Li}_2\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (-\frac {d (a+b x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (\frac {b (c+d x)}{b c-a d}\right )}{89 (b c-a d)^2 g^2}-\frac {2 B^2 d \text {Li}_3\left (1+\frac {b c-a d}{d (a+b x)}\right )}{89 (b c-a d)^2 g^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.67, size = 186, normalized size = 1.02 \[ -\frac {3 \left (A^2+2 A B+2 B^2\right ) (-d (a+b x) \log (c+d x)-a d+b c)+3 d \left (A^2+2 A B+2 B^2\right ) (a+b x) \log (a+b x)+3 B (a A d+A b d x+b B (c+d x)) \log ^2\left (\frac {e (a+b x)}{c+d x}\right )+6 B (A+B) (b c-a d) \log \left (\frac {e (a+b x)}{c+d x}\right )+B^2 d (a+b x) \log ^3\left (\frac {e (a+b x)}{c+d x}\right )}{3 g^2 i (a+b x) (b c-a d)^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.95, size = 231, normalized size = 1.26 \[ -\frac {{\left (B^{2} b d x + B^{2} a d\right )} \log \left (\frac {b e x + a e}{d x + c}\right )^{3} + 3 \, {\left (A^{2} + 2 \, A B + 2 \, B^{2}\right )} b c - 3 \, {\left (A^{2} + 2 \, A B + 2 \, B^{2}\right )} a d + 3 \, {\left (B^{2} b c + A B a d + {\left (A B + B^{2}\right )} b d x\right )} \log \left (\frac {b e x + a e}{d x + c}\right )^{2} + 3 \, {\left (A^{2} a d + {\left (A^{2} + 2 \, A B + 2 \, B^{2}\right )} b d x + 2 \, {\left (A B + B^{2}\right )} b c\right )} \log \left (\frac {b e x + a e}{d x + c}\right )}{3 \, {\left ({\left (b^{3} c^{2} - 2 \, a b^{2} c d + a^{2} b d^{2}\right )} g^{2} i x + {\left (a b^{2} c^{2} - 2 \, a^{2} b c d + a^{3} d^{2}\right )} g^{2} i\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.05, size = 1201, normalized size = 6.56 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.99, size = 1008, normalized size = 5.51 \[ -B^{2} {\left (\frac {1}{{\left (b^{2} c - a b d\right )} g^{2} i x + {\left (a b c - a^{2} d\right )} g^{2} i} + \frac {d \log \left (b x + a\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i} - \frac {d \log \left (d x + c\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i}\right )} \log \left (\frac {b e x}{d x + c} + \frac {a e}{d x + c}\right )^{2} - 2 \, A B {\left (\frac {1}{{\left (b^{2} c - a b d\right )} g^{2} i x + {\left (a b c - a^{2} d\right )} g^{2} i} + \frac {d \log \left (b x + a\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i} - \frac {d \log \left (d x + c\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i}\right )} \log \left (\frac {b e x}{d x + c} + \frac {a e}{d x + c}\right ) + \frac {1}{3} \, B^{2} {\left (\frac {3 \, {\left ({\left (b d x + a d\right )} \log \left (b x + a\right )^{2} + {\left (b d x + a d\right )} \log \left (d x + c\right )^{2} - 2 \, b c + 2 \, a d - 2 \, {\left (b d x + a d\right )} \log \left (b x + a\right ) + 2 \, {\left (b d x + a d - {\left (b d x + a d\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )\right )} \log \left (\frac {b e x}{d x + c} + \frac {a e}{d x + c}\right )}{a b^{2} c^{2} g^{2} i - 2 \, a^{2} b c d g^{2} i + a^{3} d^{2} g^{2} i + {\left (b^{3} c^{2} g^{2} i - 2 \, a b^{2} c d g^{2} i + a^{2} b d^{2} g^{2} i\right )} x} - \frac {{\left (b d x + a d\right )} \log \left (b x + a\right )^{3} - {\left (b d x + a d\right )} \log \left (d x + c\right )^{3} - 3 \, {\left (b d x + a d\right )} \log \left (b x + a\right )^{2} - 3 \, {\left (b d x + a d - {\left (b d x + a d\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )^{2} + 6 \, b c - 6 \, a d + 6 \, {\left (b d x + a d\right )} \log \left (b x + a\right ) - 3 \, {\left (2 \, b d x + {\left (b d x + a d\right )} \log \left (b x + a\right )^{2} + 2 \, a d - 2 \, {\left (b d x + a d\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )}{a b^{2} c^{2} g^{2} i - 2 \, a^{2} b c d g^{2} i + a^{3} d^{2} g^{2} i + {\left (b^{3} c^{2} g^{2} i - 2 \, a b^{2} c d g^{2} i + a^{2} b d^{2} g^{2} i\right )} x}\right )} - A^{2} {\left (\frac {1}{{\left (b^{2} c - a b d\right )} g^{2} i x + {\left (a b c - a^{2} d\right )} g^{2} i} + \frac {d \log \left (b x + a\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i} - \frac {d \log \left (d x + c\right )}{{\left (b^{2} c^{2} - 2 \, a b c d + a^{2} d^{2}\right )} g^{2} i}\right )} + \frac {{\left ({\left (b d x + a d\right )} \log \left (b x + a\right )^{2} + {\left (b d x + a d\right )} \log \left (d x + c\right )^{2} - 2 \, b c + 2 \, a d - 2 \, {\left (b d x + a d\right )} \log \left (b x + a\right ) + 2 \, {\left (b d x + a d - {\left (b d x + a d\right )} \log \left (b x + a\right )\right )} \log \left (d x + c\right )\right )} A B}{a b^{2} c^{2} g^{2} i - 2 \, a^{2} b c d g^{2} i + a^{3} d^{2} g^{2} i + {\left (b^{3} c^{2} g^{2} i - 2 \, a b^{2} c d g^{2} i + a^{2} b d^{2} g^{2} i\right )} x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 6.37, size = 419, normalized size = 2.29 \[ \frac {A^2+2\,A\,B+2\,B^2}{\left (a\,d-b\,c\right )\,\left (a\,g^2\,i+b\,g^2\,i\,x\right )}-{\ln \left (\frac {e\,\left (a+b\,x\right )}{c+d\,x}\right )}^2\,\left (\frac {B\,d\,\left (A+B\right )}{g^2\,i\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}-\frac {B^2\,\left (a\,d-b\,c\right )}{b\,d\,g^2\,i\,\left (\frac {x}{d}+\frac {a}{b\,d}\right )\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}\right )-\frac {B^2\,d\,{\ln \left (\frac {e\,\left (a+b\,x\right )}{c+d\,x}\right )}^3}{3\,g^2\,i\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}+\frac {2\,B\,\ln \left (\frac {e\,\left (a+b\,x\right )}{c+d\,x}\right )\,\left (a\,d-b\,c\right )\,\left (A+B\right )}{b\,d\,g^2\,i\,\left (\frac {x}{d}+\frac {a}{b\,d}\right )\,\left (a^2\,d^2-2\,a\,b\,c\,d+b^2\,c^2\right )}+\frac {d\,\mathrm {atan}\left (\frac {d\,\left (2\,b\,d\,x+\frac {a^2\,d^2\,g^2\,i-b^2\,c^2\,g^2\,i}{g^2\,i\,\left (a\,d-b\,c\right )}\right )\,\left (A^2+2\,A\,B+2\,B^2\right )\,1{}\mathrm {i}}{\left (a\,d-b\,c\right )\,\left (d\,A^2+2\,d\,A\,B+2\,d\,B^2\right )}\right )\,\left (A^2+2\,A\,B+2\,B^2\right )\,2{}\mathrm {i}}{g^2\,i\,{\left (a\,d-b\,c\right )}^2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [B] time = 5.14, size = 541, normalized size = 2.96 \[ - \frac {B^{2} d \log {\left (\frac {e \left (a + b x\right )}{c + d x} \right )}^{3}}{3 a^{2} d^{2} g^{2} i - 6 a b c d g^{2} i + 3 b^{2} c^{2} g^{2} i} + \frac {\left (2 A B + 2 B^{2}\right ) \log {\left (\frac {e \left (a + b x\right )}{c + d x} \right )}}{a^{2} d g^{2} i - a b c g^{2} i + a b d g^{2} i x - b^{2} c g^{2} i x} + \left (A^{2} + 2 A B + 2 B^{2}\right ) \left (\frac {d \log {\left (x + \frac {- \frac {a^{3} d^{4}}{\left (a d - b c\right )^{2}} + \frac {3 a^{2} b c d^{3}}{\left (a d - b c\right )^{2}} - \frac {3 a b^{2} c^{2} d^{2}}{\left (a d - b c\right )^{2}} + a d^{2} + \frac {b^{3} c^{3} d}{\left (a d - b c\right )^{2}} + b c d}{2 b d^{2}} \right )}}{g^{2} i \left (a d - b c\right )^{2}} - \frac {d \log {\left (x + \frac {\frac {a^{3} d^{4}}{\left (a d - b c\right )^{2}} - \frac {3 a^{2} b c d^{3}}{\left (a d - b c\right )^{2}} + \frac {3 a b^{2} c^{2} d^{2}}{\left (a d - b c\right )^{2}} + a d^{2} - \frac {b^{3} c^{3} d}{\left (a d - b c\right )^{2}} + b c d}{2 b d^{2}} \right )}}{g^{2} i \left (a d - b c\right )^{2}} + \frac {1}{a^{2} d g^{2} i - a b c g^{2} i + x \left (a b d g^{2} i - b^{2} c g^{2} i\right )}\right ) + \frac {\left (- A B a d - A B b d x - B^{2} b c - B^{2} b d x\right ) \log {\left (\frac {e \left (a + b x\right )}{c + d x} \right )}^{2}}{a^{3} d^{2} g^{2} i - 2 a^{2} b c d g^{2} i + a^{2} b d^{2} g^{2} i x + a b^{2} c^{2} g^{2} i - 2 a b^{2} c d g^{2} i x + b^{3} c^{2} g^{2} i x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________